#[macro_export]
macro_rules! print {
    ($($arg:tt)*) => (write!(get_serial(), $($arg)*).unwrap());
}

#[macro_export]
macro_rules! println {
    () => (print!("\n\r"));
    ($($arg:tt)*) => ({
        print!($($arg)*);
        println!();
    })
}